/**
 * Project: apollo-base-dal
 * 
 * File Created at 2017年2月20日
 * 
 * Copyright 2015-2016 dx.com Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * DongXue software Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with dx.com.
 */
package com.dx.pf.dal.conf.rule;

/** 
* @ClassName: RuleExpreType 
* @Description: 规则表达式类型
* @author wuzhenfang(wzfbj2008@163.com)
* @date 2017年2月20日 下午5:22:39 
* @version V1.0 
*/
public enum RuleExpreType {

	rt_year("year()"),//根据年切分
	rt_month("month()"),//根据月份切分
	rt_prefix("prefix(?)"), //前缀位数
	rt_suffix("suffix(?)"), //后缀位数
	rt_midfix("midfix(?,?)"), //中间从 其实index，到位数
	rt_all("all()");//表明是所有的字段匹配

	private String expressionStr;

	private RuleExpreType(String expressionStr) {
		this.expressionStr = expressionStr;
	}

	/**
	 * @return the expressionStr
	 */
	public String getExpressionStr() {
		return expressionStr;
	}

	/**
	 * @param expressionStr the expressionStr to set
	 */
	public void setExpressionStr(String expressionStr) {
		this.expressionStr = expressionStr;
	}

}
